package com.ruoyi.common.exception.logic;

import com.ruoyi.common.exception.base.BaseException;

/**
 * @Classname BaseLogicException
 * @Author: sunluquan
 * @Date: 2022/1/26 10:19
 * @Description TODO
 * 逻辑相关异常
 */
public class BaseLogicException extends BaseException {

    public BaseLogicException(String defaultMessage , String code, Object ... args) {
        super("logic", code, args, defaultMessage);
    }

    public BaseLogicException(String defaultMessage) {
        this(defaultMessage,null);
    }
}
